package br.com.mtg.movethegarbage.graphics;

public class Sprite
{
	public final float u1, v1;
	public final float u2, v2;
	public final Texture texture;

	public Sprite(Texture _tex, float x, float y, float width, float height)
	{
		texture = _tex;
		u1 = x / texture.width;
		v1 = y / texture.height;

		u2 = (x + width) / texture.width;
		v2 = (y + height) / texture.height;
	}
}